﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace shbxdv.Ezviz
{
    /// <summary>
    /// 设备
    /// </summary>
    public class EZDeviceListInfo
    {
        /// <summary>
        /// 设备被用户添加时间，精确到毫秒
        /// </summary>
        [JsonProperty("addTime")]
        public string AddTime { get;  internal set; }

        /// <summary>
        /// 视频数
        /// </summary>
        [JsonProperty("cameraNum")]
        public int CameraNum { get; internal set; }


        [JsonProperty("capturePic")]
        public string CapturePic { get; internal set; }

        /// <summary>
        /// 设备大类
        /// </summary>
        [JsonProperty("category")]
        public string Category { get; internal set; }

        /// <summary>
        /// 布A1设备布撤防状态，0:睡眠 8:在家 16:外出, 非A1设备，0-撤防 1-布防
        /// </summary>
        [JsonProperty("defence")]
        public int Defence { get; internal set; }

        /// <summary>
        /// 设备封面
        /// </summary>
        [JsonProperty("deviceCover")]
        public string DeviceCover { get; internal set; }

        /// <summary>
        /// 设备名称
        /// </summary>
        [JsonProperty("deviceName")]
        public string DeviceName { get; internal set; }

        /// <summary>
        /// 设备序列号
        /// </summary>
        [JsonProperty("deviceSerial")]
        public string DeviceSerial { get; internal set; }

        /// <summary>
        /// 设备类型
        /// </summary>
        [JsonProperty("deviceType")]
        public string DeviceType { get; internal set; }

        /// <summary>
        /// 设备版本号
        /// </summary>
        [JsonProperty("deviceVersion")]
        public string DeviceVersion { get; internal set; }

        /// <summary>
        /// 是否加密，0：不加密，1：加密
        /// </summary>
        [JsonProperty("isEncrypt")]
        public int IsEncrypt { get; internal set; }

        /// <summary>
        /// 在线状态，1-在线，2-不在线
        /// </summary>
        [JsonProperty("status")]
        public int Status { get; internal set; }
    }
}
